package com.dys.bean;

/**
 * @className: com.dys.bean.Person
 * @description: com.dys.bean
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/10/17 22:11
 */
public class Person {
    private int id;
    private String name;
    private String address;

    private String expression;

    public Person() {
    }

    public Person(int id, String name, String address) {
        this.id = id;
        this.name = name;
        this.address = address;
    }

    public Person(int id, String name, String address, String expression) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.expression = expression;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", expression='" + expression + '\'' +
                '}';
    }
}
